package com.damai.mvc.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ActionContext {
	
	
	HttpServletRequest getRequest();
	
	HttpServletResponse getResponse();
	
	/**
	 * 获取全部参数
	 * @return
	 */
	Map<String, Object> getParams();
	
	/**
	 * 获取参数
	 * @param name
	 * @return
	 */
	<T> T getParam(String name);
	
	
	
	
}
